package com.itqf;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Description:
 * @Company: 千锋互联
 * @Author: 李丽婷
 * @Date: 2020/12/16
 * @Time: 上午11:28
 */
@SpringBootApplication//默认扫描同级和子包
//不同级也不是子包的包需要使用如下标签扫描
@ComponentScan(basePackages ={ "com.config","com.itqf"})
// mapper层，批量创建代理对象
@MapperScan(basePackages = "com.itqf.mapper")
public class ApplicationDemo01 {



    public  static  void  main(String[]args){


        SpringApplication.run(ApplicationDemo01.class,args);
    }

}
